package org.jeecg.modules.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.KM.VO.KmDocParamVO;
import org.jeecg.modules.KM.VO.KmDocVO;
import org.jeecg.modules.system.entity.CrawlComponent;

/**
 * @Author wt
 * @Date: 2024/9/25 11:32
 * @Description:
 */
public interface CrawlComponentMapper  extends BaseMapper<CrawlComponent> {

    Page<CrawlComponent> queryComponent(Page<CrawlComponent> page,
                              @Param("CrawlComponent") CrawlComponent component);

    /**
     * 新增
     */
    public int insertCrawlComponent(CrawlComponent crawlComponent);

    /**
     * 删除
     */
    public int deleteComponent(Long id);

    /**
     * 批量删除
     */
    public int deleteBatchComponent(Long[] ids);


}
